package org.sy.lab.Java7并发编程实战.一线程管理.八线程中不可控异常的处理;

public class Main {
	public static void main(String[] args) {
		Task task = new Task();
		Thread thread= new Thread(task);
		thread.setUncaughtExceptionHandler(new ExceptionHandler());
		thread.start();
	}
}
